package com.mall;/*
 *
 *@author ojj
 *@date 2020/6/18 15:44
 *
 */

import com.mall.entity.Product;

import java.util.HashMap;

public class test {
    public static void main(String[] args) throws InterruptedException {
        HashMap map = new HashMap<Integer, Product>();
        int i= 0 ;
        while(true){
            map.put(i++,new Product());
            Thread.sleep(10);
        }
    }
}
